package test.adapter;

import dk.au.cs.peterbn.annotations.Pattern;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 10/28/11
 * Time: 11:18 AM
 * To change this template use File | Settings | File Templates.
 */
@Pattern(id = "test.adapter", name = "gof:Adapter", role = "Adapter")
public class Adapter implements Target{

    private Adaptee adaptee;

    @Override
    public void request() {
        adaptee = new Adaptee();
        adaptee.specificRequest();
    }
}
